﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.M.Inventory.Domain.Entity
{
    /// <summary>
    /// 入库物品关系表
    /// </summary>
    [SugarTable("enterwaerhouesgoods")]
    public class enterwaerhouesgoods
    {
        /// <summary>
        /// 入库物品关系表id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "入库物品关系表id")]
        public int enterid { get; set; }

        /// <summary>
        /// 入库编号
        /// </summary>
        [SugarColumn(ColumnDescription = "入库编号", Length = 50)]
        public string? entercode { get; set; }

        /// <summary>
        /// 物品编号
        /// </summary>
        [SugarColumn(ColumnDescription = "物品编号", Length = 50)]
        public string? goodscode { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        [SugarColumn(ColumnDescription = "批次号", Length = 50)]
        public string? batchcode { get; set; }

        /// <summary>
        /// 入库数量
        /// </summary>
        [SugarColumn(ColumnDescription = "入库数量")]
        public int enternumber { get; set; }
    }
}
